home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / editor / ed124.zip / ED.DOC next >
Text File  |  1991-04-03  |  13KB  |  311 lines

  1.         ED - Text Editor                                            i
  2.  
  3.         Table Of Contents                                      Page #
  4.         -------------------------------------------------------------
  5.  
  6.         Copyright Notice.......................................1
  7.  
  8.         Starting The Editor....................................1
  9.  
  10.         Editor Commands........................................2
  11.  
  12.         The EdConfig Program...................................5
  13.  
  14.         ED - Text Editor                                            1
  15.  
  16.  
  17.  
  18.  
  19.         Copyright Notice
  20.  
  21.              The Author does not require any donation or contribution
  22.         to allow you to evaluate this program for a short period of time.
  23.         However, if you like the program and use it, your registration
  24.         would be appretiated.  Software such as this takes Months to
  25.         Create and debug, and without such software computers would be
  26.         useless.  Please help support the free enterprise system and send
  27.         a $20.00 donation.  If you like the program but do not feel it is
  28.         worth a $20.00 donation, please send the amount you feel it is
  29.         worth.  Send to:
  30.  
  31.         Bit by Bit Software
  32.         P.O. Box 33161
  33.         Louisville, KY 40232
  34.  
  35.              It is through the generousity of people like yourself that
  36.         make the free enterprise system work.  Please distribute this
  37.         software to whomever wishes to use it.
  38.  
  39.         Starting The Editor
  40.  
  41.              The syntax for starting the editor is:
  42.  
  43.         ED [File Name]
  44.  
  45.              The file name is optional.  If a file name is not given,
  46.         you will be asked for one.  The file name can also be replaced
  47.         with a wild card specification, at which time a list of all
  48.         matching files will appear in a window with a highlighted bar on
  49.         the first file.  Move the bar to the file you wish to edit and
  50.         strike the return key.  You may also press the <F1> key while
  51.         the highlighted bar is on a file.  This will show the file's
  52.         size, date, and time that it was created.
  53.  
  54.         Editing A File
  55.  
  56.              To Edit a file, simply move your cursor to the position you
  57.         wish to change and type.  Use your <Delete> key to delete the
  58.         character above your cursor, and the <Backspace> key to delete
  59.         the character to the left of your cursor.  Your <Home> key will
  60.         take you to the beginning of the current line.  The <End> key
  61.         will take you to the end of the current line.  Press the <Pg Up>
  62.         and <Pg Dn> key to move up and down by pages.  You may go to the
  63.         top of your file by holding down the <Ctrl> key while pressing
  64.         the <Pg Up> key.  You may also go directly to the bottom of your
  65.         file by holding down the <Ctrl> key and pressing the <Pg Dn>
  66.         key.  Save your file by pressing <Alt><W>, and exit the editor
  67.         with <Alt><X>.  These commands are enough for you to get
  68.         started.  Other advanced commands are listed on the pages that
  69.         follow.  A list of commands can be brought up in the editor by
  70.         pressing the <F1> key.
  71.  
  72.         ED - Text Editor                                            2
  73.  
  74.  
  75.  
  76.  
  77.  
  78.         Edit New File                                          <Alt><E>
  79.  
  80.              This command is used to edit a file other than the one you
  81.         are currently editing.  If you have not saved your current file,
  82.         you will be asked if you wish to save it.
  83.  
  84.  
  85.         Goto Line                                              <Alt><G>
  86.  
  87.              This command allows you to go to any line number in the
  88.         file.
  89.  
  90.  
  91.         Restore Line                                           <Alt><R>
  92.  
  93.              From time to time you may make some changes to a line that
  94.         you wish you hadn't.  As long as you do not move off that line
  95.         or press the <End> key, you may restore the line to what it was
  96.         when you first moved to it by pressing <Alt><R>.
  97.  
  98.  
  99.         Delete Line                                            <Alt><D>
  100.  
  101.              Deletes the line that the cursor is on.  There is no way to
  102.         bring back a line that has been deleted, so be careful.
  103.  
  104.  
  105.         Uppercase Line                                         <Alt><U>
  106.  
  107.              Causes all letters on the line that the cursor is on to be
  108.         converted to upper case.  Characters other than letters are not
  109.         affected.
  110.  
  111.  
  112.         Lowercase Line                                         <Alt><L>
  113.  
  114.              Causes all letters on the line that the cursor is on to be
  115.         converted to lower case.  Characters other than letters are not
  116.         affected.
  117.  
  118.  
  119.         Rename File                                            <Alt><F>
  120.  
  121.              Changes the name of the current file in the editor, but
  122.         does not automatically save the file.
  123.  
  124.         ED - Text Editor                                            3
  125.  
  126.  
  127.  
  128.  
  129.         Toggle Insert                                          <Ins> 
  130.  
  131.              Normally when you type a letter on the keyboard, it is 
  132.         inserted into the current line under the cursor, moving all 
  133.         other characters over one position to the right.  This is called 
  134.         the "Insert" mode and the word "Insert" is displayed on the 
  135.         bottom of your screen.  The <Ins> key will toggle the mode 
  136.         between "Insert" and "Replace".  In the replace mode, any 
  137.         characters you type will be placed on top of the characters 
  138.         already on the line. 
  139.  
  140.  
  141.         Toggle Indent                                          <Alt><A> 
  142.  
  143.              Normally when you strike the <Return> key, your cursor will 
  144.         be placed in the column directly below the first non-blank 
  145.         character on the line above.  You may toggle the "Indent" mode 
  146.         on and off by pressing the <Alt><A> key.  If the indent mode is 
  147.         off, your cursor will stay on the first column after the 
  148.         carriage return is struck.  The current status of the Indent 
  149.         mode is displayed on the status line at the bottom of your 
  150.         screen to the right of the "Insert\Replace" mode display.  The 
  151.         word "Indent" will appear if the mode is on, and nothing will be 
  152.         displayed if the mode is off. 
  153.  
  154.  
  155.         Mark Block Begin                                       <F7> 
  156.  
  157.              Marks the beginning of a block of text to be copied, 
  158.         deleted, moved, printed, or to be written to a file.  The marked 
  159.         block will be displayed in light blue on color monitors. 
  160.  
  161.  
  162.         Mark Block End                                         <F8> 
  163.  
  164.              Marks the end of a block of text to be copied, deleted, 
  165.         moved, printed, or to be written to a file.  The marked block 
  166.         will be displayed in light blue on color monitors. 
  167.  
  168.  
  169.         Copy Block                                             <F4> 
  170.  
  171.              Copies the marked block of text to the location of the 
  172.         cursor.  If no block is marked, nothing is changed. 
  173.  
  174.  
  175.         Move Block                                             <F5> 
  176.  
  177.              Moves the marked block of text to the location of the 
  178.         cursor.  If no block is marked, nothing is changed. 
  179.  
  180.         ED - Text Editor                                            4 
  181.  
  182.  
  183.  
  184.  
  185.         Delete Block                                           <F5> 
  186.  
  187.              Deletes the marked block of text.  There is no way to 
  188.         recover a deleted block of text. 
  189.  
  190.  
  191.         Write Out Block                                        <ALT><O> 
  192.  
  193.              Writes the current block of text to a file specified by the 
  194.         user. 
  195.  
  196.  
  197.         Read In Block                                          <ALT><I> 
  198.  
  199.              Reads a block of text from a file specified by the user to 
  200.         the current cursor location. 
  201.  
  202.  
  203.         Print Block                                            <ALT><P> 
  204.  
  205.              Prints the current marked block of text. 
  206.  
  207.  
  208.         Find String                                            <F2> 
  209.  
  210.              This command will ask the user for a string and search for 
  211.         that string from the cursor location to the end of the file. 
  212.         After the string is typed in, you will be asked for any special 
  213.         options you would like.  They are listed below: 
  214.  
  215.              B:  Will cause a search backwards through the file. 
  216.              I:  Will treat upper and lower case letters as equal. 
  217.              G:  Causes a global search through the file. 
  218.              C# #: Causes a search on the column of text specified 
  219.                  by # #, the first number specifies the first character 
  220.                  of the column, the second number specifies the with 
  221.                  of the column. 
  222.  
  223.              These options may be combined by simply typing in a 
  224.         combination of them on the same line.  For example, typing in 
  225.         "BI" will cause a backward search though the file treating upper 
  226.         and lower case characters as equal.  While searching, the word 
  227.         "SEARCH" will be placed on top of the "Indent" location. 
  228.  
  229.  
  230.         Find & Replace String                                  <F3> 
  231.  
  232.              This command will search for a string specified by the 
  233.         user, and will replace the string with another string specified 
  234.         by the user.  All options that apply to the "Find String" 
  235.         command also applies to this command.  Another option is also 
  236.         available for this command. 
  237.  
  238.         ED - Text Editor                                            5 
  239.  
  240.  
  241.  
  242.  
  243.              S: This chooses the silent mode.  Normally when you tell 
  244.                 the computer to find and replace strings without asking 
  245.                 you to verify each substitution, you will be able to see 
  246.                 each substitution flash on the screen.  With this option 
  247.                 you will not see each substitution flash on the screen, 
  248.                 but the operation will take place much faster. 
  249.  
  250.              This option may also be combined with other options defined 
  251.         above. 
  252.  
  253.  
  254.         Repeat Last Find                                      <Ctrl><F2> 
  255.  
  256.              Repeats last "Find String" or "Find & Replace String", 
  257.         whichever one was chosen last. 
  258.  
  259.         Start/Stop Recording Macro                             <F9> 
  260.  
  261.              By pressing the <F9> key the computer will record every key 
  262.         that you press on the keyboard until the <F9> key is pressed 
  263.         again.  Then the <F10> (Playback Macro) key may be pressed to 
  264.         play back the sequence of keystrokes that you just recorded. 
  265.         This is useful for making tedious typing easy.  While recording, 
  266.         the word "RECORD" will be placed on top of the "Indent" 
  267.         location.  A maximum or 500 keystrokes may be recorded at one 
  268.         time.  After that, the recording will automatically be turned 
  269.         off.  All function, arrow, control, and alternate keys use two 
  270.         keystrokes. 
  271.  
  272.  
  273.         Playback Macro                                         <F10> 
  274.  
  275.              Plays back a sequence of keystrokes defined by the 
  276.         "Start/Stop Recording Macro" command. 
  277.  
  278.  
  279.         Shell                                                  <Alt><Z> 
  280.  
  281.              Causes the computer to be returned to DOS (disk operating 
  282.         system) keeping the editor intact in memory.  When the command 
  283.         "EXIT" is typed at the DOS prompt, you will be returned to the 
  284.         editor exactly the way that you had left it. 
  285.  
  286.  
  287.         Dos Commands                                           <Alt><F1> 
  288.  
  289.              Allows you to define commands to DOS that may be executed 
  290.         with the <Alt><0-9> keys.  This may be useful for commands that 
  291.         are issued frequently to DOS, like perhaps the command to 
  292.         compile a program that you are editing. 
  293.  
  294.         ED - Text Editor                                            6 
  295.  
  296.  
  297.  
  298.  
  299.         Execute Dos Command                                   <Alt><0-9> 
  300.  
  301.              Executes a DOS command previously defined by <Alt><F1> (Dos 
  302.         Commands). 
  303.  
  304.  
  305.         The EdConfig Program 
  306.  
  307.              This Program is used to configure some of the defualt values
  308.  
  309.         for Ed.Exe. 
  310.  
  311.